package com.boot.security.server.common;

import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;

/**
 * @Program: hotdog
 * @Desc: Description
 * @Author: Allen Liu
 * @Created at 2018-05-15 16:17
 */
public class ScheduledFutureExecutor {
    private ScheduledFuture<?> scheduledFuture = null;
    private ScheduledExecutorService scheduledExecutor = null;

    public ScheduledFutureExecutor() {
    }

    public ScheduledFutureExecutor(ScheduledFuture<?> scheduledFuture, ScheduledExecutorService scheduledExecutor) {
        this.scheduledFuture = scheduledFuture;
        this.scheduledExecutor = scheduledExecutor;
    }

    public ScheduledFuture<?> getScheduledFuture() {
        return scheduledFuture;
    }

    public void setScheduledFuture(ScheduledFuture<?> scheduledFuture) {
        this.scheduledFuture = scheduledFuture;
    }

    public ScheduledExecutorService getScheduledExecutor() {
        return scheduledExecutor;
    }

    public void setScheduledExecutor(ScheduledExecutorService scheduledExecutor) {
        this.scheduledExecutor = scheduledExecutor;
    }
}
